The SiteCam plug-in works with your WebSTAR compatible server that is running on the same machine as the SiteCam that is capturing video. The plug-in can handle requests for single images and for live streaming video.
Create a folder called "webcam" in your web server root HTML documents folder.
Add the following to your HTML files to grab a live image:
<IMG SRC="mydoc.mwc" HEIGHT=160 WIDTH=320>
The format of the plug-in syntax is as follows:
mydoc.mwc instructs the server to invoke the SiteCam plug-in. The SiteCam plug-in removes the suffix .mwc and uses the rest of the name as the document name. In the above example, the plug-in will work with the open SiteCam document saved as "mydoc". If SiteCam does not have an open document with the name specified in the plug-in command, no images will be returned.
Set the HEIGHT and WIDTH to the final image size, which is displayed in SiteCam's status window under image size.
Specifying the number of images with the "images" argument
<IMG SRC="mydoc.mwc?images=1" HEIGHT=160 WIDTH=320>
Here is one image
Specifying the time allowed for streaming video
<IMG SRC="mydoc.mwc?s=120" HEIGHT=160 WIDTH=320>
2 minutes of video
Specifying the images/minute for streaming video
<IMG SRC="mydoc.mwc?ipm=20" HEIGHT=160 WIDTH=320>
20 frames/minute
Filtering browsers with the "filter" argument
The plug-in now supports automatic filtering of browsers that are not known to support streaming server-push. If you do not want this server filtering done, add a filter=0. As in:
<IMG SRC="mydoc.mwc?filter=0" >
Serve video to all browsers, regardless of possible incompatibilities.
Note: The live streaming video works with Netscape and Internet Explorer for Mac. SiteCam will automatically send only a single image to the incompatible MSIE/Windows users. Explorer for Windows users will need to request single images from the plug-in at a high rate using the SiteCam.class Java applet.
Specifying more than one argument
Use an & between arguments to set more than one argument.
<IMG SRC="mydoc.mwc?s=300&images=500" >
Serve 500 images or for 5 minutes, whichever comes first.
The SiteCam plug-in has two "admin" URL's that you can access.
pi_status returns status information about the plug-in and associated documents.
pi_admin lets you enable/disable the anti-hijacking features.